export function parseTitle(str:string,cap=false){
    let title = str.split('_')
    if (cap){
        title = title.map((s)=>{
            return s.charAt(0).toUpperCase() + s.slice(1)
        })
    }
    return title.join(' ')
}